<?php
<object class="vendor_edit2" name="vendor_edit2" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Settings Wizard: Edit Vendor</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">660</property>
  <property name="IsMaster">0</property>
  <property name="Name">vendor_edit2</property>
  <property name="UseAjax">1</property>
  <property name="Width">835</property>
  <property name="OnCreate">vendor_edit2Create</property>
  <object class="Button" name="btnUpdate" >
    <property name="Caption">Update</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">13</property>
    <property name="Name">btnUpdate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">14</property>
    <property name="Top">624</property>
    <property name="Width">75</property>
    <property name="OnClick">btnUpdateClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">99</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">15</property>
    <property name="Top">624</property>
    <property name="Width">75</property>
    <property name="jsOnClick">btnCancelJSClick</property>
  </object>
  <object class="Image" name="Image1" >
    <property name="Border">0</property>
    <property name="Height">30</property>
    <property name="ImageSource">image/vendor_edit.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image1</property>
    <property name="Width">771</property>
  </object>
  <object class="HiddenField" name="hiddenVendor" >
    <property name="Height">18</property>
    <property name="Left">478</property>
    <property name="Name">hiddenVendor</property>
    <property name="Top">7</property>
    <property name="Width">144</property>
  </object>
  <object class="Image" name="imgBack" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">45</property>
    <property name="ImageSource">image/btn_back.png</property>
    <property name="Left">790</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgBack</property>
    <property name="Visible">0</property>
    <property name="Width">45</property>
    <property name="OnClick">imgBackClick</property>
    <property name="jsOnMouseOut">imgBackJSMouseOut</property>
    <property name="jsOnMouseOver">imgBackJSMouseOver</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxProduct3(pr,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxProduct('productajax.php','cmbProduct',compid);
  AjaxProduct('productajax.php','listProduct',compid);
  }
  }
  var url='delproductajax.php';
  url=url+&quot;?val=&quot;+pr;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">464</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">75</property>
    <property name="Width">165</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxProduct(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">464</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">52</property>
    <property name="Width">167</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxProduct2(pr,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxProduct('productajax.php','cmbProduct',compid);
  AjaxProduct('productajax.php','listProduct',compid);

  }
  }
  var url='addproductajax.php';
  url=url+&quot;?val=&quot;+pr;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">462</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">32</property>
    <property name="Width">169</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">621</property>
    <property name="Name">compid</property>
    <property name="Top">7</property>
    <property name="Width">120</property>
  </object>
  <object class="JTDivWindow" name="JTDivWindow1" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
    </property>
    <property name="Caption">Add Contact Person</property>
    <property name="Height">312</property>
    <property name="Left">25</property>
    <property name="Name">JTDivWindow1</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">303</property>
    <property name="Width">744</property>
    <object class="Label" name="Label10" >
      <property name="Caption">First Name:</property>
      <property name="Height">13</property>
      <property name="Left">29</property>
      <property name="Name">Label10</property>
      <property name="Top">49</property>
      <property name="Width">69</property>
    </object>
    <object class="Edit" name="edContactFname" >
      <property name="Height">21</property>
      <property name="Left">95</property>
      <property name="Name">edContactFname</property>
      <property name="TabOrder">1</property>
      <property name="Top">45</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label12" >
      <property name="Caption">Middle Name:</property>
      <property name="Height">13</property>
      <property name="Left">15</property>
      <property name="Name">Label12</property>
      <property name="Top">81</property>
      <property name="Width">77</property>
    </object>
    <object class="Edit" name="edContactMname" >
      <property name="Height">21</property>
      <property name="Left">95</property>
      <property name="Name">edContactMname</property>
      <property name="TabOrder">3</property>
      <property name="Top">77</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label19" >
      <property name="Caption">Last Name:</property>
      <property name="Height">13</property>
      <property name="Left">28</property>
      <property name="Name">Label19</property>
      <property name="Top">113</property>
      <property name="Width">64</property>
    </object>
    <object class="Edit" name="edContactLname" >
      <property name="Height">21</property>
      <property name="Left">95</property>
      <property name="Name">edContactLname</property>
      <property name="TabOrder">5</property>
      <property name="Top">109</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label20" >
      <property name="Caption">Designation:</property>
      <property name="Height">13</property>
      <property name="Left">20</property>
      <property name="Name">Label20</property>
      <property name="Top">145</property>
      <property name="Width">72</property>
    </object>
    <object class="Edit" name="edContactDesignation" >
      <property name="Height">21</property>
      <property name="Left">95</property>
      <property name="Name">edContactDesignation</property>
      <property name="TabOrder">7</property>
      <property name="Top">141</property>
      <property name="Width">260</property>
    </object>
    <object class="ComboBox" name="cmbyear" >
      <property name="Height">18</property>
      <property name="Items">a:0:{}</property>
      <property name="Left">95</property>
      <property name="Name">cmbyear</property>
      <property name="TabOrder">9</property>
      <property name="Top">170</property>
      <property name="Width">89</property>
    </object>
    <object class="Label" name="Label21" >
      <property name="Caption">Birthdate:</property>
      <property name="Height">13</property>
      <property name="Left">36</property>
      <property name="Name">Label21</property>
      <property name="Top">172</property>
      <property name="Width">59</property>
    </object>
    <object class="ComboBox" name="cmbDay" >
      <property name="Height">18</property>
      <property name="Items">a:0:{}</property>
      <property name="Left">192</property>
      <property name="Name">cmbDay</property>
      <property name="TabOrder">10</property>
      <property name="Top">169</property>
      <property name="Width">57</property>
    </object>
    <object class="ComboBox" name="cmbMonth" >
      <property name="Height">18</property>
      <property name="Items">a:0:{}</property>
      <property name="Left">255</property>
      <property name="Name">cmbMonth</property>
      <property name="TabOrder">11</property>
      <property name="Top">169</property>
      <property name="Width">100</property>
    </object>
    <object class="Label" name="Label22" >
      <property name="Caption">Phone No:</property>
      <property name="Height">13</property>
      <property name="Left">32</property>
      <property name="Name">Label22</property>
      <property name="Top">201</property>
      <property name="Width">64</property>
    </object>
    <object class="Edit" name="edPhone" >
      <property name="Height">21</property>
      <property name="Left">95</property>
      <property name="Name">edPhone</property>
      <property name="TabOrder">13</property>
      <property name="Top">197</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label23" >
      <property name="Caption">Mobile No:</property>
      <property name="Height">13</property>
      <property name="Left">31</property>
      <property name="Name">Label23</property>
      <property name="Top">233</property>
      <property name="Width">64</property>
    </object>
    <object class="Edit" name="edMobile" >
      <property name="Height">21</property>
      <property name="Left">95</property>
      <property name="Name">edMobile</property>
      <property name="TabOrder">15</property>
      <property name="Top">229</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label24" >
      <property name="Caption">Address:</property>
      <property name="Height">13</property>
      <property name="Left">403</property>
      <property name="Name">Label24</property>
      <property name="Top">45</property>
      <property name="Width">54</property>
    </object>
    <object class="Edit" name="edContactAddress" >
      <property name="Height">21</property>
      <property name="Left">459</property>
      <property name="Name">edContactAddress</property>
      <property name="TabOrder">2</property>
      <property name="Top">45</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label25" >
      <property name="Caption">Building:</property>
      <property name="Height">13</property>
      <property name="Left">403</property>
      <property name="Name">Label25</property>
      <property name="Top">81</property>
      <property name="Width">54</property>
    </object>
    <object class="Edit" name="edContactBldg" >
      <property name="Height">21</property>
      <property name="Left">459</property>
      <property name="Name">edContactBldg</property>
      <property name="TabOrder">4</property>
      <property name="Top">77</property>
      <property name="Width">260</property>
    </object>
    <object class="ComboBox" name="cmbContactRegion" >
      <property name="Height">21</property>
      <property name="Items">a:0:{}</property>
      <property name="Left">459</property>
      <property name="Name">cmbContactRegion</property>
      <property name="TabOrder">6</property>
      <property name="Top">109</property>
      <property name="Width">260</property>
      <property name="jsOnChange">cmbContactRegionJSChange</property>
    </object>
    <object class="Label" name="Label26" >
      <property name="Caption">Region:</property>
      <property name="Height">13</property>
      <property name="Left">406</property>
      <property name="Name">Label26</property>
      <property name="Top">109</property>
      <property name="Width">49</property>
    </object>
    <object class="ComboBox" name="cmbContactProvince" >
      <property name="Height">21</property>
      <property name="Items">a:0:{}</property>
      <property name="Left">459</property>
      <property name="Name">cmbContactProvince</property>
      <property name="TabOrder">8</property>
      <property name="Top">141</property>
      <property name="Width">260</property>
      <property name="jsOnChange">cmbContactProvinceJSChange</property>
    </object>
    <object class="Label" name="Label27" >
      <property name="Caption">Province:</property>
      <property name="Height">13</property>
      <property name="Left">399</property>
      <property name="Name">Label27</property>
      <property name="Top">141</property>
      <property name="Width">50</property>
    </object>
    <object class="ComboBox" name="cmbContactMunicipality" >
      <property name="Height">18</property>
      <property name="Items">a:0:{}</property>
      <property name="Left">459</property>
      <property name="Name">cmbContactMunicipality</property>
      <property name="TabOrder">12</property>
      <property name="Top">170</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label28" >
      <property name="Caption">Municipality:</property>
      <property name="Height">13</property>
      <property name="Left">382</property>
      <property name="Name">Label28</property>
      <property name="Top">172</property>
      <property name="Width">75</property>
    </object>
    <object class="Label" name="Label29" >
      <property name="Caption">Fax No:</property>
      <property name="Height">13</property>
      <property name="Left">408</property>
      <property name="Name">Label29</property>
      <property name="Top">201</property>
      <property name="Width">51</property>
    </object>
    <object class="Edit" name="edFax" >
      <property name="Height">21</property>
      <property name="Left">459</property>
      <property name="Name">edFax</property>
      <property name="TabOrder">14</property>
      <property name="Top">197</property>
      <property name="Width">260</property>
    </object>
    <object class="Label" name="Label30" >
      <property name="Caption">Email:</property>
      <property name="Height">13</property>
      <property name="Left">414</property>
      <property name="Name">Label30</property>
      <property name="Top">229</property>
      <property name="Width">40</property>
    </object>
    <object class="Edit" name="edEmail" >
      <property name="Height">21</property>
      <property name="Left">459</property>
      <property name="Name">edEmail</property>
      <property name="TabOrder">16</property>
      <property name="Top">229</property>
      <property name="Width">260</property>
    </object>
    <object class="Button" name="btnSubmitContact" >
      <property name="Caption">Update</property>
      <property name="Height">33</property>
      <property name="Left">18</property>
      <property name="Name">btnSubmitContact</property>
      <property name="TabOrder">17</property>
      <property name="Top">262</property>
      <property name="Width">83</property>
      <property name="jsOnClick">btnSubmitContactJSClick</property>
    </object>
    <object class="Button" name="btnCancelContact" >
      <property name="Caption">Cancel</property>
      <property name="Height">33</property>
      <property name="Left">110</property>
      <property name="Name">btnCancelContact</property>
      <property name="TabOrder">18</property>
      <property name="Top">262</property>
      <property name="Width">83</property>
      <property name="jsOnClick">btnCancelContactJSClick</property>
    </object>
  </object>
  <object class="JTIFrame" name="JTContactList" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Height">274</property>
    <property name="Left">26</property>
    <property name="Name">JTContactList</property>
    <property name="SiteTheme"></property>
    <property name="Top">344</property>
    <property name="Width">790</property>
  </object>
  <object class="Button" name="Button1" >
    <property name="Caption">Add Contact</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">725</property>
    <property name="Name">Button1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">13</property>
    <property name="Top">316</property>
    <property name="Width">91</property>
    <property name="jsOnClick">Button1JSClick</property>
  </object>
  <object class="Label" name="Label8" >
    <property name="Caption">Contact Person Information</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">15</property>
        <property name="Weight">bold</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">25</property>
    <property name="Name">Label8</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">320</property>
    <property name="Width">239</property>
  </object>
  <object class="JTDivWindow" name="JTDivProduct" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Products and Services</property>
    <property name="Height">251</property>
    <property name="Left">407</property>
    <property name="Name">JTDivProduct</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">288</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox4" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox4</property>
      <property name="SiteTheme"></property>
      <property name="Top">30</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listProduct" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listProduct</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edProduct" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edProduct</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelProduct" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelProduct</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">171</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelProductJSClick</property>
      </object>
      <object class="Button" name="btnAddProduct" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddProduct</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddProductJSClick</property>
      </object>
    </object>
  </object>
  <object class="Label" name="lblVendorNum" >
    <property name="Caption">Vendor No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">167</property>
    <property name="Name">lblVendorNum</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">39</property>
    <property name="Visible">0</property>
    <property name="Width">67</property>
  </object>
  <object class="Edit" name="edVendornum" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">239</property>
    <property name="Name">edVendornum</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">35</property>
    <property name="Visible">0</property>
    <property name="Width">153</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">*Vendor Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">16</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">105</property>
    <property name="Width">90</property>
  </object>
  <object class="Edit" name="edVendorname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">111</property>
    <property name="Name">edVendorname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">101</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edVendornameJSBlur</property>
  </object>
  <object class="Edit" name="edAddress" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">111</property>
    <property name="Name">edAddress</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">173</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edAddressJSBlur</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Caption">Building:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">54</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">141</property>
    <property name="Width">54</property>
  </object>
  <object class="Edit" name="edBldg" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">111</property>
    <property name="Name">edBldg</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">137</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label6" >
    <property name="Caption">Others:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">589</property>
    <property name="Name">Label6</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">257</property>
    <property name="Visible">0</property>
    <property name="Width">42</property>
  </object>
  <object class="Edit" name="edOtherProd" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">637</property>
    <property name="Name">edOtherProd</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">257</property>
    <property name="Visible">0</property>
    <property name="Width">88</property>
  </object>
  <object class="ComboBox" name="cmbProduct" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">524</property>
    <property name="Name">cmbProduct</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">101</property>
    <property name="Width">285</property>
  </object>
  <object class="Label" name="Label7" >
    <property name="Caption"><![CDATA[Products &amp; Services:]]></property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">407</property>
    <property name="Name">Label7</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">104</property>
    <property name="Width">115</property>
  </object>
  <object class="CheckBox" name="chkinactive" >
    <property name="Caption">Inactive Vendor</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">16</property>
    <property name="Name">chkinactive</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">59</property>
    <property name="Width">121</property>
  </object>
  <object class="ComboBox" name="cmbRegion" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">111</property>
    <property name="Name">cmbRegion</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">275</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
    <property name="jsOnChange">cmbRegionJSChange</property>
  </object>
  <object class="Label" name="Label5" >
    <property name="Caption">Region:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">59</property>
    <property name="Name">Label5</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">279</property>
    <property name="Visible">0</property>
    <property name="Width">49</property>
  </object>
  <object class="ComboBox" name="cmbProvince" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">221</property>
    <property name="Name">cmbProvince</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">275</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
    <property name="jsOnChange">cmbProvinceJSChange</property>
  </object>
  <object class="Label" name="Label15" >
    <property name="Caption">Province:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">162</property>
    <property name="Name">Label15</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">279</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="ComboBox" name="cmbMunicipality" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">351</property>
    <property name="Name">cmbMunicipality</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">275</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label16" >
    <property name="Caption">Municipality:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">273</property>
    <property name="Name">Label16</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">279</property>
    <property name="Visible">0</property>
    <property name="Width">75</property>
  </object>
  <object class="Label" name="Label18" >
    <property name="Caption">Email:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">482</property>
    <property name="Name">Label18</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">216</property>
    <property name="Width">36</property>
  </object>
  <object class="Edit" name="edCompEmail" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">524</property>
    <property name="Name">edCompEmail</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">12</property>
    <property name="Top">210</property>
    <property name="Width">285</property>
  </object>
  <object class="Button" name="btnShowProduct" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint"><![CDATA[add products &amp; services]]></property>
    <property name="Left">809</property>
    <property name="Name">btnShowProduct</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">10</property>
    <property name="Top">101</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowProductJSClick</property>
  </object>
  <object class="Label" name="lblvname" >
    <property name="Caption">lblvname</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">111</property>
    <property name="Name">lblvname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">85</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="lblem" >
    <property name="Caption">lblem</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">524</property>
    <property name="Name">lblem</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">197</property>
    <property name="Width">282</property>
  </object>
  <object class="Label" name="Label9" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">1</property>
    <property name="Name">Label9</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">32</property>
    <property name="Width">115</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">182</property>
    <property name="Name">hfError</property>
    <property name="Top">8</property>
    <property name="Width">128</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr; This field is required &amp;darr;';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">309</property>
    <property name="Name">JSValidate</property>
    <property name="Top">7</property>
    <property name="Width">165</property>
  </object>
  <object class="JTJavaScript" name="JSRegionProvince" >
    <property name="Code"><![CDATA[var xmlhttp

function regionProvince()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
var region = document.getElementById('cmbRegion').value;
var url=&quot;regionProvince.php&quot;;
url=url+&quot;?region=&quot;+region;
xmlhttp.onreadystatechange=stateChangedMake;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}


function stateChangedMake()
{
if (xmlhttp.readyState==4)
  {
  var my_array = eval(xmlhttp.responseText);
  var cmbObj = document.getElementById('cmbProvince')
  cmbObj.length = 0;
  
  var row;
  for (row = 0; row &lt; my_array.length; row++)
  {
	var province = my_array[row][0];
	var id = my_array[row][1];
	var x = document.createElement('option');
	
	x.text = province;
	x.value = id;
	try
	{
		cmbObj.add(x,null); // standards compliant
	}
	catch(ex)
	{
	cmbObj.add(x); // IE only
	}
  }
  provinceMunicipality();
  }
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">359</property>
    <property name="Name">JSRegionProvince</property>
    <property name="Top">32</property>
    <property name="Width">102</property>
  </object>
  <object class="JTJavaScript" name="JSProvinceMunicipality" >
    <property name="Code"><![CDATA[var xmlhttp

function provinceMunicipality()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
var province = document.getElementById('cmbProvince').value;
var url=&quot;provinceMunicipality.php&quot;;
url=url+&quot;?province=&quot;+province;
xmlhttp.onreadystatechange=stateChangedProvince;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}


function stateChangedProvince()
{
if (xmlhttp.readyState==4)
  {
  var my_array = eval(xmlhttp.responseText);
  var cmbObj = document.getElementById('cmbMunicipality');
  cmbObj.length = 0;
  
  var row;
  for (row = 0; row &lt; my_array.length; row++)
  {
	var province = my_array[row][0];
	var id = my_array[row][1];
	var x = document.createElement('option');
	
	x.text = province;
	x.value = id;
	try
	{
		cmbObj.add(x,null); // standards compliant
	}
	catch(ex)
	{
	cmbObj.add(x); // IE only
	}
  }
}
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">359</property>
    <property name="Name">JSProvinceMunicipality</property>
    <property name="Top">54</property>
    <property name="Width">102</property>
  </object>
  <object class="Edit" name="edCompPhone" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">684</property>
    <property name="Name">edCompPhone</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">137</property>
    <property name="Width">125</property>
    <property name="jsOnBlur">edCompPhoneJSBlur</property>
  </object>
  <object class="Label" name="Label4" >
    <property name="Caption">*Phone No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">611</property>
    <property name="Name">Label4</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">141</property>
    <property name="Width">70</property>
  </object>
  <object class="Label" name="lblph" >
    <property name="Caption">lblph</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">606</property>
    <property name="Name">lblph</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">123</property>
    <property name="Width">200</property>
  </object>
  <object class="Edit" name="edArea" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">524</property>
    <property name="Name">edArea</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">8</property>
    <property name="Top">137</property>
    <property name="Width">71</property>
    <property name="jsOnBlur">edAreaJSBlur</property>
  </object>
  <object class="Label" name="lblarea" >
    <property name="Caption">lblarea</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">444</property>
    <property name="Name">lblarea</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">123</property>
    <property name="Width">151</property>
  </object>
  <object class="Edit" name="edCity" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">111</property>
    <property name="Name">edCity</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">210</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edCityJSBlur</property>
  </object>
  <object class="Label" name="Label13" >
    <property name="Alignment">agRight</property>
    <property name="Caption">*City:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">61</property>
    <property name="Name">Label13</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">216</property>
    <property name="Width">42</property>
  </object>
  <object class="ComboBox" name="cmbCountry" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="ItemIndex"></property>
    <property name="Items">a:0:{}</property>
    <property name="Left">111</property>
    <property name="Name">cmbCountry</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">6</property>
    <property name="Top">246</property>
    <property name="Width">260</property>
    <property name="jsOnChange">cmbRegionJSChange</property>
  </object>
  <object class="Label" name="Label31" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Country:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">56</property>
    <property name="Name">Label31</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">246</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="lblCity" >
    <property name="Caption">lblCity</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">111</property>
    <property name="Name">lblCity</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">197</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label17" >
    <property name="Caption">Fax No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">634</property>
    <property name="Name">Label17</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">176</property>
    <property name="Width">43</property>
  </object>
  <object class="Edit" name="edCompFax" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">684</property>
    <property name="Name">edCompFax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">11</property>
    <property name="Top">173</property>
    <property name="Width">125</property>
  </object>
  <object class="Edit" name="edAreaFax" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">524</property>
    <property name="Name">edAreaFax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">10</property>
    <property name="Top">173</property>
    <property name="Width">71</property>
  </object>
  <object class="Label" name="Label14" >
    <property name="Caption">Area code:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">11</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">452</property>
    <property name="Name">Label14</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">176</property>
    <property name="Width">66</property>
  </object>
  <object class="Label" name="lblAddress" >
    <property name="Caption">lblAddress</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">111</property>
    <property name="Name">lblAddress</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">160</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label11" >
    <property name="Caption">*Area code:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">11</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">444</property>
    <property name="Name">Label11</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">141</property>
    <property name="Width">74</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">*Street:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">60</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">176</property>
    <property name="Width">43</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">749</property>
        <property name="Top">3</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
